﻿using System.Collections;
using System.Collections.Generic;

namespace LZ.DCode.Roles.Dto
{
    public class GetRoleForEditOutput
    {
        public RoleEditDto Role { get; set; }

        public List<FlatPermissionDto> Permissions { get; set; }

        public List<string> GrantedPermissionNames { get; set; }

        public List<RoleNodes> GetRoleNodes { get; set; }
    }


    public class RoleNodes
    {
        public string Title { get; set; }
        public string Key { get; set; }
        public bool IsLeaf { get; set; }
        public  bool Expanded { get; set; }
        public List<RoleNodes> children { get; set; }
 
    }
}
